package cn.myzf.fort.fortaccess.autoconfigure;



import cn.myzf.fort.fortaccess.utils.RocksDbUtils;
import org.rocksdb.RocksDB;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import java.io.IOException;

@Configuration
public class DbConfigs {


    @Bean("delayDb")
    public RocksDB delayDb() throws IOException {
        return RocksDbUtils.build("delay");
    }



}
